package com.cskaoyan.mall.service;

import com.cskaoyan.mall.model.Admin;
import com.cskaoyan.mall.model.bo.*;

import java.util.List;

public interface AdminService {

    int login(AdminLoginBO loginBO);
    List<Admin> allAdmins();

    List<Admin> searchAdmins(SearchAdminBO searchAdminBO);

    int add(AdminAddBO adminAddBO);

    int update(Admin admin);

    Admin getAdminInfo(String id);

    int deleteAdmins(String id);

    int changePwd(ChangePwdBO changePwdBO);
}
